package net.qiqbframework.loadhanding;

import javax.annotation.Nonnull;

/**
 * 命令结果回调
 *
 * @param <L>
 * @param <R>
 */
@FunctionalInterface
public interface LoadCallback<L, R> {


    void onResult(@Nonnull LoadMessage<? extends L> commandMessage, @Nonnull LoadResultMessage<? extends R> loadResultMessage);


}
